  class Innate_Skill_Enemy_SplitBite < Innate_Skill
    def initialize(actor)
      super(actor)
      @name = '撕咬'
      @type = 1
      @description = '攻击单个目标，并恢复自身生命值'
    end
    def use
      super
      make_actions
    end
    def make_actions
      make_target
      damge_info = make_damge_info(@actor.atk)
      actions = make_single_attack_action(0, 6, @selected_target, damge_info)
      action1 = Action_Bit.new(@actor, 1).set_detail(15).set_delay_time(5).set_block
      action2 = Action_Bit.new(@actor, 3).set_detail(damge_info.value / 3).set_block
      actions.push(action1)
      actions.push(action2)
      action_flow.batch_add_actions(actions)
    end
    def make_target
      @selected_target = $game_party.random_target_actor
    end
  end
